textiter: add starts_tag() and deprecate begins_tag()
authorSébastien Wilmet <swilmet@gnome.org>
Sun, 6 Dec 2015 16:39:27 +0000 (17:39 +0100)
committerSébastien Wilmet <swilmet@gnome.org>
Tue, 8 Dec 2015 18:55:53 +0000 (19:55 +0100)
commit1dcb3a0f887924793c86e9f5ee56fbd54a2a9b6e
tree22b11fe6f5a03510336902afe712701cca586f78
parent28ae8a3608776c225c1c751ee6ebee582fbd18a0
textiter: add starts_tag() and deprecate begins_tag()

The name gtk_text_*_begins_* was used only for begins_tag(). All other
similar functions use "starts": starts_line(), starts_word(), etc.

So for consistency, add gtk_text_iter_starts_tag() and deprecate
gtk_text_iter_begins_tag().

Also change (allow-none) to (nullable), to use the new annotation.

https://bugzilla.gnome.org/show_bug.cgi?id=759092
docs/reference/gtk/gtk3-sections.txt
gtk/gtktextiter.c
gtk/gtktextiter.h